<section class="content-header">
    <h1>权限管理</h1>
</section>

<section class="content">
    <div class="box box-primary">
        <div class="box-header">
            <i class="ion ion-clipboard"></i>
            <h3 class="box-title">管理员列表</h3>
            <div class="box-tools pull-right">
                <a class="btn btn-block btn-primary" href="#/adminsCreat"><i class="fa fa-plus small-pr"></i>添加管理员</a>
            </div>
        </div>
        <div class="box-body">
            <ul class="todo-list">
                <li ng-repeat="admin in admins">
                    <span class="handle">
                        <i class="fa fa-ellipsis-v"></i>
                        <i class="fa fa-ellipsis-v"></i>
                    </span>
                    <span class="text"><strong>{{admin.username}} </strong>{{admin.name}}</span>
                    <div class="tools">
                        <a ng-if="admin.isLogin" class="fa fa-edit" href="#/adminsEdit"></a>
                        <i class="fa fa-trash-o" ng-click="deleteAdmin(admin)"></i>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</section>